package com.neibulei;

public class Student {
    public void method1() {
        System.out.println("外部类的method1");
    }
    public void method2() {
        System.out.println("外部类的method2");
    }
    public  class StudentInner {
        public void method1() {
            System.out.println("内部类的method1");
            Student.this.method1();
            method2();
            Student.this.method2();
            StudentInner2.method3();
        }
        public void method2() {
            System.out.println("内部类的method2");
        }
    }
    public static class StudentInner2 {
        public static void method3() {
            System.out.println("内部类的method3");
        }
    }
}
